package net.mingsoft.examine.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.mingsoft.base.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@ApiModel(value="ReportApply对象", description="报告申请表")
@TableName("report_apply")
public class ExamineEntity  extends BaseEntity {

    private static final long serialVersionUID = 1574925152617L;

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "报告id")
    private String reportId;

    @ApiModelProperty(value = "报告名称")
    private String reportName;

    @ApiModelProperty(value = "申请人")
    private String applyPerson;

    @ApiModelProperty(value = "报告编号")
    private String reportNum;

    @ApiModelProperty(value = "所属栏目")
    private String cmsContent;

    @ApiModelProperty(value = "申请说明")
    private String applyExplain;

    @ApiModelProperty(value = "是否通知（1:通知，2:不通知）")
    private Integer notice;

    @ApiModelProperty(value = "通知方式(1:系统通知，2:短信，3:邮箱)")
    private String noticeType;

    @ApiModelProperty(value = "状态值(1:待处理，2:已通过，3:未通过，4:已撤回,5:未发送,6:已发布)")
    private Integer status;

    @ApiModelProperty(value = "办理意见")
    private String transactionOpinion;

    @ApiModelProperty(value = "删除标志")
    private Integer del;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateDate;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "创建人姓名")
    private String createdUserName;

    @ApiModelProperty(value = "修改人姓名")
    private String updatedUserName;

    @ApiModelProperty(value = "所属栏目id")
    private String categoryId;

}

